﻿using DirectSell.Common.InvokeInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace DirectSell.WebLayer.Controllers
{
    public class BaseRespApiController : ApiController
    {
        #region 统一返回状态码
        /// <summary>
        /// 统一返回状态码
        /// </summary>
        /// <returns></returns>
        public VerifResp<R> RespMessage<R>(R result)
        {
            return new VerifResp<R>(result, "SUCCESS", "成功！");
        }
        #endregion
    }
}
